<?php require_once LAYOUTPATH.'layout_header.php'; ?>

<h1><?php echo $page_title; ?></h1>

<div id="bricabox_tabs" class="admin">
	<ul>
		<li class="back"><a href="/">&lsaquo; Back to your BricaBox</a></li>
		<?php render_tabs($admin_tabs); ?>
	</ul>
</div>

<?php if (@$content->id): ?>
<h2>Edit your <a href="/edit_layout">index</a> or <a href="/content/<?php echo @$content->id; ?>/edit_layout">entry</a> page layout.</h2>
<?php else: ?>
<h2>Edit your <a href="/edit_layout">index</a> page layout. To edit your entry page layout, <a href="/entries">add an entry</a> first.</h2>
<?php endif; ?>

<?php require_once LAYOUTPATH.'layout_footer.php'; ?>